
# Variables
set $term kitty
set $lock ~/.local/scripts/lock
set $launcher ~/.local/scripts/launcher
set $screenshot ~/.local/scripts/wl-screenshot

# workspaces
set $ws1 1
set $ws2 2
set $ws3 3
set $ws4 4
set $ws5 5
set $ws6 6
set $ws7 7
set $ws8 8
set $ws9 9
set $ws0 10

focus_follows_mouse no

# Autostart
exec --no-startup-id mako 
exec --no-startup-id pipewire
exec --no-startup-id pipewire-pulse
exec --no-startup-id blueman-applet
exec --no-startup-id /usr/libexec/xdg-desktop-portal --replace
#exec --no-startup-id /usr/libexec/xdg-desktop-portal-wlr
#exec --no-startup-id /usr/libexec/polkit-gnome-authentication-agent-1 #TODO: look for a new polkit 

# Start some windows floating
for_window [app_id="mpv"] floating enable
# this still doesn't float for some reason
for_window [app_id="imv"] floating enable

include ~/.config/sway/keybinds.conf
include ~/.config/sway/screen.conf
include ~/.config/sway/input.conf
include ~/.config/sway/theme.conf

# Idle configuration
exec_always swayidle timeout 1200 exec $lock

# Launch waybar
exec_always ~/.config/waybar/launch
